package com.apartment.sevice.impl;

import com.apartment.dao.CollectviewDao;
import com.apartment.data.view.Collectview;
import com.apartment.sevice.CollectviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author : xuzhiyong
 * Date : 2022/6/5 23:35
 */
@Service
public class CollectviewServiceImpl implements CollectviewService {

    @Autowired
    private CollectviewDao collectviewDao;


    @Override
    public List<Collectview> findCollectByUserId(Integer id) {
        return collectviewDao.findCollectByUserId(id);
    }
}
